package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import java.util.Date;

/**
 * 联系记录对象 relationship_record
 * 
 * @author ruoyi
 * @date 2019-10-16
 */
public class RelationshipRecord extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 联系时间 */
    @Excel(name = "联系时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date relationshipTime;

    /** 联系人 */
    @Excel(name = "联系人")
    private String relationshipUser;

    /** 联系结果 */
    @Excel(name = "联系结果")
    private String relationshipResult;

    /** 备注 */
    @Excel(name = "备注")
    private String relationshipRemark;

    /** 客户id */
    @Excel(name = "客户id")
    private Long customerId;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setRelationshipTime(Date relationshipTime) 
    {
        this.relationshipTime = relationshipTime;
    }

    public Date getRelationshipTime() 
    {
        return relationshipTime;
    }
    public void setRelationshipUser(String relationshipUser) 
    {
        this.relationshipUser = relationshipUser;
    }

    public String getRelationshipUser() 
    {
        return relationshipUser;
    }
    public void setRelationshipResult(String relationshipResult) 
    {
        this.relationshipResult = relationshipResult;
    }

    public String getRelationshipResult() 
    {
        return relationshipResult;
    }
    public void setRelationshipRemark(String relationshipRemark) 
    {
        this.relationshipRemark = relationshipRemark;
    }

    public String getRelationshipRemark() 
    {
        return relationshipRemark;
    }
    public void setCustomerId(Long customerId) 
    {
        this.customerId = customerId;
    }

    public Long getCustomerId() 
    {
        return customerId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("relationshipTime", getRelationshipTime())
            .append("relationshipUser", getRelationshipUser())
            .append("relationshipResult", getRelationshipResult())
            .append("relationshipRemark", getRelationshipRemark())
            .append("customerId", getCustomerId())
            .append("createTime", getCreateTime())
            .toString();
    }
}
